using UnityEngine;
using QFramework;
using UnityEngine.Tilemaps;

namespace ProjectFarm
{
	public partial class Player : ViewController
	{
		public Grid grid;
		public Tilemap tilemap;
		void Start()
		{
			// Code Here
		}

		private void Update()
		{
			if (Input.GetKeyDown(KeyCode.J))
			{
				Vector3Int pos = grid.WorldToCell(transform.position);
				tilemap.SetTile(pos, null);
			}
		}
	}
}
